<template>
  <div>
    子组件
    <button @click="btn">anniu</button>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  methods: {
    btn () {
      this.$emit('xxx', 10)
    }
  }
}
</script>

<style lang="less" scoped></style>
